2000W / 48V LLC Battery-Charger  V1.00
system_XMC1400.h
Go to the documentation of this file.
1 /*********************************************************************************************************************
2  * @file system_XMC1400.h
3  * @brief Device specific initialization for the XMC1400-Series according to CMSIS
4  * @version V1.0
5  * @date 03 Sep 2015
6  *
7  * @cond
8  *********************************************************************************************************************
9  * Copyright (c) 2015-2016, Infineon Technologies AG
10  * All rights reserved.
11  *
12  * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the
13  * following conditions are met:
14  *
15  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
16  * disclaimer.
17  *
18  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
19  * disclaimer in the documentation and/or other materials provided with the distribution.
20  *
21  * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote
22  * products derived from this software without specific prior written permission.
23  *
24  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
25  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
29  * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with
33  * Infineon Technologies AG dave@infineon.com).
34  *********************************************************************************************************************
35  *
36  **************************** Change history *********************************
37  * V1.0, 03 Sep 2015, JFT : Initial version
38  *****************************************************************************
39  * @endcond
40  */
41 
42 #ifndef SYSTEM_XMC1400_H
43 #define SYSTEM_XMC1400_H
44 
45 /*******************************************************************************
46  * HEADER FILES
47  *******************************************************************************/
48 
49 #include <stdint.h>
50 
51 /*******************************************************************************
52  * GLOBAL VARIABLES
53  *******************************************************************************/
54 
55 extern uint32_t SystemCoreClock;
56 
57 /*******************************************************************************
58  * API PROTOTYPES
59  *******************************************************************************/
60 
61 #ifdef __cplusplus
62 extern "C" {
63 #endif
64 
69 void SystemInit(void);
70 
75 void SystemCoreSetup(void);
76 
81 void SystemCoreClockSetup(void);
82 
87 void SystemCoreClockUpdate(void);
88 
93 uint32_t OSCHP_GetFrequency(void);
94 
95 #ifdef __cplusplus
96 }
97 #endif
98 
99 #endif
void SystemCoreClockSetup(void)
Initialize clock.
void SystemCoreSetup(void)
Initialize CPU settings.
uint32_t OSCHP_GetFrequency(void)
Returns frequency of the high performace oscillator User needs to overload this function to return th...
void SystemInit(void)
Initialize the system.
uint32_t SystemCoreClock
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable.